<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        button{
            height: 50px;
            width: 50px;
        }
    </style>
</head>
<body>
    <input type="button" value="input按钮">
    <button>按钮1</button>
    <button>按钮2</button>
    <button>按钮3</button>
    <script src="jquery.js"></script>
    <script>
        $("button").click(function(){
            //获取索引
            // let index=$(this).index();
            // console.log(index)
            //text,获取，设置文本
            // let text=$(this).text()
            // console.log(text)
            // $(this).text("新文本")
            // let height=$(this).css("height")
            // console.log(height)
            $(this).css({
                "height":"100px",
                "width":"100px"
            })
        })
        $("input").click(function(){
            $(this).val("新的value值")
        })
        
    </script>
</body>
</html>